import pandas as pd
import numpy as np
import matplotlib as mpl

import matplotlib.pyplot as plt

csv_file = "/home/iris/Project/r/whole_MammaryGland.Lactation/plot.csv"
csv_data = pd.read_csv(csv_file, low_memory = False,header=0)#防止弹出警告
csv_df = pd.DataFrame(csv_data)
# f = csv_df.boxplot(column='Znhit6', by='Group',grid=False,showmeans=False,return_type='dict',patch_artist=True)
f = csv_df.boxplot(column='Znhit6', by='Group',return_type=None)

print(type(f))
plt.ylabel("Log (TPM)")
plt.show()